/**
 * Project Name:bfs
 * File Name:BasicDao.java
 * Package Name:com.zeei.bfs.dao
 * Date:2016年8月19日下午1:16:06
 * Copyright (c) 2016, chenzhou1025@126.com All Rights Reserved.
 *
 * ClassName:BasicDao 
 * Function: TODO ADD FUNCTION. 
 * @author   lgy 
 * @since    JDK 1.8	 
 */

package com.zeei.bfs.dao;

import java.util.List;
import java.util.Map;

public interface BasicDao<T> {
	public T getById(int id);

	public boolean update(T data);

	public boolean insert(T data);

	public boolean deleteById(int id);

	public List<T> listByCondition(Map<String, String> condition);
}
